import axios from "@/utils/axios";
//vp列表
export const getVPlist = (parmas) => {
    return axios.get("/presentation/page", parmas);
};
//VP信息
export const VPInfoApi = (VPId) => {
    return axios.get(`/presentation/detail/${VPId}`);
};
// 创建CPT
export const CreateVP = (parmas) => {
    return axios.post("/presentation/apply",parmas);
}
//凭证列表（枚举）
export const credentialListApi = () => {
    return axios.get(`/credential/list`);
};
//获取凭证Claims
export const claimsListApi = (credentialId) => {
    return axios.get(`/credential/claims/${credentialId}`);
};
